package com.xiaoxu.serviceimpl;

import com.xiaoxu.dao.UserDao;
import com.xiaoxu.service.Meberrequstservice;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Date;

@Service
public class MeberrequstserviceImpl implements Meberrequstservice {

    @Autowired
    private UserDao userDao;

    @Override
    public Date meberrequst(String userName) {
        System.out.println(userDao.userdate(userName)+"11111");
        return userDao.userdate(userName);
    }

    @Override
    public Boolean insertMeber(String userName) {
        return userDao.insertMeber(userName);
    }
}
